home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / others / wc094b.zip / WINCIS.TPL < prev   
Text File  |  1992-10-31  |  18KB  |  568 lines

  1. ;***************************************************************
  2. ;* WinCis Commands Commands                                    *
  3. ;***************************************************************
  4. ;
  5. ;
  6. ;  GO           forum_name
  7. ;  RESET
  8. ;  KILLFILE     filename
  9. ;  KILLDIR      directory
  10. ;  MAKEDIR      directory
  11. ;  LIB          library_number
  12. ;
  13. ;  SCANMES
  14. ;  SCANTHR
  15. ;  SCANLIB
  16. ;  QSCNLIB
  17. ;
  18. ;  JOIN
  19. ;
  20. ;  DOWNLOAD     filename pathname
  21. ;
  22. ;  READSEC
  23. ;  READMES
  24. ;  READTHR
  25. ;  READANN
  26. ;  READMAIL
  27. ;
  28. ;  RECORD
  29. ;
  30. ;  DO           scriptfile
  31. ;
  32. ;  LOGOFF
  33. ;  OFF
  34. ;  QUIT
  35. ;
  36. ;  S
  37. ;  SE
  38. ;  SEND         text
  39. ;
  40. ;  U
  41. ;  W
  42. ;  WA
  43. ;  WAIT         text
  44. ;
  45. ;  P
  46. ;  PA
  47. ;  PAUSE        number_of_seconds
  48. ;
  49. ;  C
  50. ;  CA
  51. ;  CAPTURE      filename
  52. ;
  53. ;  PR
  54. ;  PRINT        ON, or OFF
  55. ;
  56. ;  LOG          text
  57. ;
  58. ;  EC
  59. ;  ECHO         text
  60. ;               ON, or OFF
  61. ;
  62. ;  EN
  63. ;  END
  64. ;
  65. ;  N
  66. ;  NA
  67. ;  NAME
  68. ;
  69. ;  US
  70. ;  USER
  71. ;  USERID
  72. ;  RET
  73. ;  RETURN
  74. ;
  75. ;  DEBUG        ON, or OFF
  76. ;***************************************************************
  77. ;* WinCis Variables                                            *
  78. ;***************************************************************
  79. ;       WinCis Variables are denoted by a single & characters &
  80. ;       these variables are replaced with string values at the
  81. ;       time WinCis executes the script.
  82. ;
  83. ; "&USERID"             CompuServe      UserID
  84. ; "&NAME"                               UserName
  85. ; "&PASSWORD"                           User Password
  86. ; "&GATEWAY"            Current Gateway
  87. ; "&FORUM"              Current Forum
  88. ;
  89. ;***************************************************************
  90. ;* WinCis Conditional Commands                                 *
  91. ;***************************************************************
  92. ;
  93. ;
  94. ;     '%', '?' or '@'   are prefix condition characters that can
  95. ;                       prefix any command in order to make the
  96. ;                       command conditional on the sucess of any
  97. ;                       prior command.
  98. ;
  99. ;       Each occurance of these prefix conditions denotes a
  100. ;       level of nesting that should be considered prior to
  101. ;       executing the command. Up to 10 levels of nesting
  102. ;       (or 10 prefix conditions) can be checked.
  103. ;
  104. ;       Basically processing proceeds as follows:
  105. :
  106. ;       For each Prefix condition:
  107. ;
  108. ;       For I = 0 to the Number-of-Prefix-Conditions
  109. ;               If The_Condition_At(I) = FALSE Then Skip This Command
  110. ;       Next
  111. ;
  112. ;       All Conditions are true So Perform the command and save the return code...
  113. ;
  114. ;       ReturnCode = Command()
  115. ;
  116. ;       If the command worked then ReturnCode = TRUE Else ReturnCode  = FALSE
  117. ;
  118. ;       Now set the next higher condition to the value of the ReturnCode so that
  119. ;       Other commands can be based on the success of the command just executed
  120. ;
  121. ;       Set The_Condition_At(Number-Of-Prefix-Conditions + 1) = ReturnCode
  122. ;
  123. ;
  124. ;       The Prefix Conditions Denote the following conditions
  125. ;
  126. ;
  127. ;      %   Defines a TRUE  condition at this error level
  128. ;      @   Defines a FALSE condition at this error level
  129. ;      ?   Defines a Don't Care Condition at this  error level
  130. ;
  131. ;
  132. ;       The following is an example of some of the concepts presented:
  133. ;
  134. ;
  135. ;       GO FORUM
  136. ;       ; This command will always be executed since there are no
  137. ;       ; prefix conditions.  If WinCis successfully enters the FORUM
  138. ;       ; then the condition at level 1 will be set to TRUE otherwise it
  139. ;       ; will be set to FALSE
  140. ;
  141. ;       %ECHO We entered the FORUM successfully
  142. ;       ; The ECHO command will execute only if the condition at level 1 is TRUE
  143. ;       ; The ECHO Command does not return a condition and therefore does not
  144. ;       ; affect the condition at level 2
  145. ;
  146. ;       %LIB 1
  147. ;       ; We will only go to library 1 if the condition at level 1 is TRUE
  148. ;       ; this of course depends on that success of the GO FORUM Command
  149. ;       ; If the command is executed it will set the condition at Level 2
  150. ;
  151. ;       %%SCANLIB KEY:PROGRAMS LIB:ALL
  152. ;       ; Scanning for programs will depend of the success of geting to the Library Prompt
  153. ;       ; Therefore this command depends of the sucess of both the GO FORUM and LIB 1
  154. ;       ; commands.  Here we test 2 levels of prefix conditions denoted by the fact that
  155. ;       ; there are 2 '%' characters prefixing the SCANLIB Command
  156. ;       ; If the command is executed it will set the condition at Level 3
  157. ;
  158. ;       %@ECHO Can't Enter library 1 of the FORUM
  159. ;       ; This command will only be executed if we successfully entered the forum
  160. ;       ; and were unable to enter the library.  Since the first prefix_condition is
  161. ;       ; an % the condition at level 1 must be true, this was set by the value returned
  162. ;       ; by the GO FORUM command. If GO FORUM was not successful the command would be skipped
  163. ;       ; The second prefix_condition @ indicates that the condition at level 2 must be FALSE
  164. ;       ; this condition was last established by the %LIB 1 command.
  165. ;       ; The ECHO Command does not return a condition and therefore does not
  166. ;       ; affect the condition at level 3
  167. ;
  168. ;       @ECHO Can't Enter the FORUM
  169. ;       ; This command will only be executed if the GO FORUM command was unsucessful
  170. ;       ; the @ indicates that the condition at level 1 must be FALSE.  This of course
  171. ;       ; was last set by the GO FORUM command.
  172. ;
  173. ;
  174. ;***************************************************************
  175. ;* Template Variables                                          *
  176. ;***************************************************************
  177. ;
  178. ;       Template Variables are denoted by the characters &&
  179. ;       these variables are replaced with string values at the
  180. ;       time WinCis generates the script.  Don't confuse template
  181. ;       variables with script variables.  Script variables are
  182. ;       evaluated when the script is executed by WinCis
  183. ;
  184. ;
  185. ;
  186. ; "&&USERID"        CompuServe UserID
  187. ; "&&USERNAME"                 UserName
  188. ; "&&PHONENUMBER"              PhoneNumber
  189. ; "&&LOGONSCRIPT"              LogonScript
  190. ;
  191. ; "&&GATEWAY"         Forum    Gateway
  192. ; "&&FORUMNAME"                Name
  193. ; "&&FORUMTITLE",              Title
  194. ; "&&CONTROLPATH"     Path For Control Files
  195. ; "&&DOWNLOADPATH"             Downloads
  196. ; "&&MESSAGEPATH"              Messages
  197. ; "&&SCRIPTPATH"               Scripts
  198. ;
  199. ; "&&LIBRARY"         Library  Number
  200. ; "&&DOWNLOADFILE"    Download FileName
  201. ; "&&DOWNLOADSIZE"             Filesize
  202. ; "&&DOWNLOADDATE"             Filedate
  203. ; "&&DOWNLOADCOUNT"            #DownLoads
  204. ; "&&DOWNLOADUPLD"             Uploaded by this CIS User
  205. ; "&&DOWNLOADTITLE"            Title Description of File
  206. ;
  207. ; "&&SCANFILE"        LibraryScan FileName
  208. ; "&&SCANAGE"                     Days old or age
  209. ; "&&SCANLIBS"                    Libraries to scan through
  210. ; "&&SCANKEYWORDS"                Keywords to look for
  211. ; "&&SCANTYPE"                    Short or long descriptions
  212. ; "&&SCANDESC"                    Description of this scan
  213. ;
  214. ; "&&READMSGSECTION"  ReadMessage Section Number
  215. ; "&&READMSGNUMBNER"              Thread or Message Number
  216. ;
  217. ; "&&VERSION"         WinCis Version Number
  218. ; "&&DATE"            Date script was created
  219. ; "&&TIME"            Time script was created
  220. ;
  221. ;
  222. ;
  223. ;
  224. [PROLOG]
  225. ;
  226. ; This script file was created on &&DATE at &&TIME by &&USERNAME.
  227. ;
  228. ;***********************************************************************
  229. ;       WinCIS &&VERSION
  230. ;       Copyright(C) 1992
  231. ;       Larry Lee (76670,1471)
  232. ;       16038 Augusta Drive
  233. ;       Chino Hills, Ca 91709
  234. ;***********************************************************************
  235. ;
  236. ;
  237. WAIT !
  238. SEND SET BRIEF YES^M
  239. WAIT !
  240. SEND SET PAGED NO^M
  241. WAIT !
  242. SEND SET BLANK YES^M
  243. WAIT !
  244. ; SEND SET WIDTH 80^M
  245. ; WAIT !
  246. ;
  247. [EPILOG]
  248. ;
  249. ;***********************************************************************
  250. ; All Done, Just Log off CompuServe
  251. ;***********************************************************************
  252. ;
  253. LOGOFF
  254.  
  255. [READ MAIL]
  256. ;
  257. ; Read Any Waiting CompuServe Mail
  258. ;
  259.  IF MAILWAITING
  260.   %ECHO Reading CompuServe Mail
  261.   %READMAIL &&SYSMESSAGEPATHMAIL.MSG
  262.     %%ECHO CompuServe Mail Read Complete!
  263.     %@ECHO Unable to Read your CompuServe Mail!
  264.  
  265.  
  266. [SEND MAIL]
  267. ;
  268. ; Send Any Waiting CompuServe Mail
  269. ;
  270.   IF FILEEXISTS &&SYSMESSAGEPATHMAIL.SND
  271.   %ECHO Sending CompuServe Mail
  272.   %SENDMAIL  &&SYSMESSAGEPATHMAIL.SND
  273.     %@ECHO Unable to Send your CompuServe Mail!
  274.     %%ECHO CompuServe Mail Send Complete!
  275.  
  276. [PROMPT MAIL OUTBOX]
  277. ;
  278. ; Ask what about Overwriting to the Mail OutBox
  279. ;
  280.      %%ASK OVERWRITE? &&SYSMESSAGEPATHMAIL.MOX  Do you want to save your outgoing Mail in &&SYSMESSAGEPATHMAIL.MOX
  281.      %%%ECHO Saving Your Out Going Mail to &&SYSMESSAGEPATHMAIL.MOX
  282.      %%%FILEMARK &&SYSMESSAGEPATHMAIL.MOX MAIL_SENT CIS:MAIL
  283.      %%%COPYFILE &&SYSMESSAGEPATHMAIL.SND &&SYSMESSAGEPATHMAIL.MOX
  284. ; At This point the Mail File Is No Longer Needed
  285.      %%KILLFILE &&SYSMESSAGEPATHMAIL.SND
  286.  
  287.  
  288. [APPEND MAIL OUTBOX]
  289. ;
  290. ; Append Queued Mail to the Mail OutBox
  291. ;
  292.    %%ECHO Appending your outgoing Mail to &&SYSMESSAGEPATHMAIL.MOX
  293.    %%FILEMARK &&SYSMESSAGEPATHMAIL.MOX MAIL_SENT &&FORUMNAME
  294.    %%COPYFILE &&SYSMESSAGEPATHMAIL.SND &&SYSMESSAGEPATHMAIL.MOX
  295. ; At This point the Mail File Is No Longer Needed
  296.    %%%KILLFILE &&SYSMESSAGEPATHMAIL.SND
  297.  
  298. [OVERWRITE MAIL OUTBOX]
  299. ;
  300. ; Overwrite Queued Mail to the &&FORUMNAME OutBox
  301. ;
  302.    %%ECHO Saving your outgoing Mail in &&SYSPATH&&FORUMNAME.MOX
  303.    %%KILLFILE &&SYSMESSAGEPATHMAIL.MOX
  304.    %%FILEMARK &&SYSMESSAGEPATHMAIL.MOX MAIL_SENT &&FORUMNAME
  305.    %%COPYFILE &&SYSMESSAGEPATHMAIL.SND &&SYSMESSAGEPATHMAIL.MOX
  306. ; At This point the Message File Is No Longer Needed
  307.    %%%KILLFILE &&SYSMESSAGEPATHMAIL.SND
  308.  
  309. [DELETE MAIL OUTBOX]
  310. ;
  311. ; Never Save Queued Mail to the Mail OutBox
  312. ;
  313.    %%ECHO Deleting outgoing Mail: &&SYSMESSAGEPATHMAIL.SND
  314. ; At This point the Mail File Is No Longer Needed
  315.    %%KILLFILE &&SYSMESSAGEPATHMAIL.SND
  316.  
  317. [GO FORUM]
  318. ;
  319. ;***********************************************************************
  320. ; Let's enter the &&FORUMNAME forum, &&FORUMTITLE
  321. ;***********************************************************************
  322. ECHO Going to &&FORUMNAME, &&FORUMTITLE
  323. GO &&GATEWAY:&&FORUMNAME
  324. ;
  325. ; Join Forum If Required!
  326. ;
  327.   %IF NOT JOINED
  328.     %%ECHO Attempting to Join &&FORUMNAME, &&FORUMTITLE
  329.     %%JOIN
  330.         %%%ECHO Successfully Joined &&FORUMNAME, &&FORUMTITLE
  331.     %%WAIT !
  332.         %%@ECHO Sorry, unable to Join &&FORUMNAME, &&FORUMTITLE
  333.         %%@SETERRORLEVEL 0 FALSE
  334. ;
  335. ; Set Session Defaults to Comamnd Mode for Forum Processing
  336. ;
  337.   %ECHO Setting Temporary Session Defaults in &&FORUMNAME, &&FORUMTITLE
  338.   %SEND OPT;INI;1;MOD;3;EDI EDIT;PAU N;REP LIST;TYPE N;SKIP N;CHAR;S^M
  339.   %WAIT New prompt:
  340.   %%SEND ^^G^M
  341.   %WAIT FORUM !
  342.     %@SETERRORLEVEL 0 FALSE
  343. ;
  344.   @ECHO Sorry, unable to enter the &&FORUMNAME Forum!
  345.   %ECHO Now in &&FORUMNAME, &&FORUMTITLE
  346. ;
  347. ; Check for Waiting Messages in the &&FORUMNAME Forum
  348. ;
  349.   %IF MESSAGESWAITING
  350.     %@ECHO No Messages Waiting to be Read On &&FORUMNAME, &&FORUMTITLE
  351.     %%ECHO Reading Waiting Messages of &&FORUMNAME, &&FORUMTITLE
  352.     %%SCAN &&MESSAGEPATH&&FORUMNAME.MSG READ WAIT
  353. ;
  354.  
  355. [GO LIB]
  356. ;
  357. ; Let's enter Library #&&LIBRARY of &&FORUMNAME
  358.   %LIB &&LIBRARY
  359. ;
  360. ; If something goes wrong... Inform the user and bypass this Library!
  361. ;   Otherwise all is well... Continue processing (downloads, catalogs, etc)
  362. ;
  363.     %@ECHO Sorry, unable to enter Library #&&LIBRARY of &&FORUMNAME, &&FORUMTITLE
  364.     %%ECHO Now In &&FORUMNAME, &&FORUMTITLE Libraries
  365. ;
  366.  
  367. [JOIN FORUM]
  368. ;
  369. ; Commented Out Since It's Done at GO FORUM Automatically
  370. ; Join The Forum
  371. ;
  372. ;  %IF NOT JOINED
  373. ;    %%ECHO Attempting to Join &&FORUMNAME, &&FORUMTITLE
  374. ;    %%JOIN
  375. ;       %%%ECHO Successfully Joined &&FORUMNAME, &&FORUMTITLE
  376. ;       %%@ECHO Sorry, unable to Join &&FORUMNAME Forum!
  377.  
  378. [SET FORUM DEFAULTS]
  379. ;
  380. ; Set Permanent Session Defaults to Comamnd Mode for Forum Processing
  381. ;
  382.   %ECHO Setting Permanent Session Defaults in &&FORUMNAME, &&FORUMTITLE
  383.   %SEND OPT;INI;1;MOD;3;EDI EDIT;PAU N;REP LIST;TYPE N;SKIP N;P^M
  384.   %WAIT FORUM !
  385.  
  386. [UPDATE FORUM SECTIONS]
  387. ;
  388. ; Read the Section Descriptions
  389. ;
  390.   %ECHO Updating &&FORUMNAME, &&FORUMTITLE Message And Library Descriptions
  391.   %KILLFILE &&CONTROLPATH&&FORUMNAME.SEC
  392.   %READ &&CONTROLPATH&&FORUMNAME.SEC NAM;1;2;M
  393.  
  394. [READ FORUM ANNOUNCEMENTS]
  395. ;
  396. ; Read the &&FORUMNAME Forum Announcements
  397. ;
  398.   %ECHO Reading &&FORUMNAME, &&FORUMTITLE Announcements
  399.   %READANN &&MESSAGEPATH&&FORUMNAME.MSG
  400.  
  401. [GO MESSAGES]
  402. ;
  403. ; Enter Message Area of the &&FORUMNAME Forum
  404. ;
  405.   %MESSAGES
  406. ;
  407. ; If something goes wrong... Inform the user and bypass the Message Area!
  408. ;   Otherwise all is well... Continue processing (READS, SCANS, ...)
  409. ;
  410.    %@ECHO Sorry, unable to enter Message Area of &&FORUMNAME, &&FORUMTITLE
  411.    %%ECHO Now In &&FORUMNAME, &&FORUMTITLE Message Area
  412. ;
  413.  
  414. [READ FORUM MESSAGES]
  415.     %%READ &&MESSAGEPATH&&FORUMNAME.MSG READ THR NUM:&&READMSGNUMBER
  416.  
  417. [RESET READ FORUM MESSAGES]
  418. ;
  419. ;  At this point no messages need to be read so Kill Then Read Msg Index
  420.     %%KILLFILE &&CONTROLPATH&&FORUMNAME.MXS
  421.  
  422. [READ WAITING FORUM MESSAGES]
  423. ;
  424. ; Commented Out Since It's Done at GO FORUM Automatically
  425. ; Check for Waiting Messages in the &&FORUMNAME Forum
  426. ;
  427. ;  %%IF MESSAGESWAITING
  428. ;    %%@ECHO No Messages Waiting to be Read On &&FORUMNAME, &&FORUMTITLE
  429. ;    %%%ECHO Reading Waiting Messages of &&FORUMNAME, &&FORUMTITLE
  430. ;    %%%SCAN &&MESSAGEPATH&&FORUMNAME.MSG READ WAIT
  431.  
  432. [READ NEW FORUM MESSAGES]
  433. ;
  434. ; Read New Messages in the &&FORUMNAME Forum
  435. ;
  436.     %%ECHO Reading New Messages of &&FORUMNAME, &&FORUMTITLE in Sections &&MSGSECTIONS
  437.     %%SCAN &&MESSAGEPATH&&FORUMNAME.MSG READ NEW &&MSGSECTIONS
  438.  
  439. [QUICKSCAN FORUM MESSAGE HEADERS]
  440. ;
  441. ; Scan For New Messages Threads in the &&FORUMNAME Forum and Overwrite existing File
  442. ;
  443.     %%ECHO Scanning For New Threads of &&FORUMNAME, &&FORUMTITLE in Sections &&MSGSECTIONS
  444.     %%KILLFILE &&CONTROLPATH&&FORUMNAME.MQS
  445.     %%SCAN &&CONTROLPATH&&FORUMNAME.MQS SCAN QUICK NEW &&MSGSECTIONS;T
  446.  
  447. [SEND FORUM MESSAGE]
  448. ;
  449. ; Sending Queued Messages and Replies to the &&FORUMNAME Forum
  450. ;
  451.     %%ECHO Sending Queued Messages and Replies to &&FORUMNAME, &&FORUMTITLE
  452.     %%SENDMSGS &&MESSAGEPATH&&FORUMNAME.SND
  453.  
  454. [PROMPT MESSAGE OUTBOX]
  455. ;
  456. ; Ask what to do about copying the OutGoing Messages
  457. ;
  458.    %%%ASK OVERWRITE? &&CONTROLPATH&&FORUMNAME.MOX  Do you want to save your outgoing &&FORUMNAME Messages in &&MESSAGEPATH&&FORUMNAME.MOX?
  459.    %%%%ECHO Saving your outgoing Messages to &&MESSAGEPATH&&FORUMNAME.MOX
  460.    %%%%FILEMARK  &&MESSAGEPATH&&FORUMNAME.MOX MESSAGES_SENT &&FORUMNAME
  461.    %%%%COPYFILE  &&MESSAGEPATH&&FORUMNAME.SND &&MESSAGEPATH&&FORUMNAME.MOX
  462. ; At This point the Message File Is No Longer Needed
  463.    %%%KILLFILE &&MESSAGEPATH&&FORUMNAME.SND
  464.  
  465.  
  466. [APPEND MESSAGE OUTBOX]
  467. ;
  468. ; Append Queued Messages and Replies to the &&FORUMNAME Forum OutBox
  469. ;
  470.    %%%ECHO Appending your outgoing &&FORUMNAME Messages to &&MESSAGEPATH&&FORUMNAME.MOX
  471.    %%%FILEMARK &&MESSAGEPATH&&FORUMNAME.MOX MESSAGES_SENT &&FORUMNAME
  472.    %%%COPYFILE &&MESSAGEPATH&&FORUMNAME.SND &&MESSAGEPATH&&FORUMNAME.MOX
  473. ; At This point the Message File Is No Longer Needed
  474.    %%%%KILLFILE &&MESSAGEPATH&&FORUMNAME.SND
  475. ;
  476. [OVERWRITE MESSAGE OUTBOX]
  477. ;
  478. ; Overwrite Queued Messages and Replies to the &&FORUMNAME Forum OutBox
  479. ;
  480.    %%%ECHO Saving your outgoing &&FORUMNAME Messages in &&MESSAGEPATH&&FORUMNAME.MOX
  481.    %%%%KILLFILE &&MESSAGEPATH&&FORUMNAME.MOX
  482.    %%%FILEMARK  &&MESSAGEPATH&&FORUMNAME.MOX MESSAGES_SENT &&FORUMNAME
  483.    %%%COPYFILE  &&MESSAGEPATH&&FORUMNAME.SND &&MESSAGEPATH&&FORUMNAME.MOX
  484. ; At This point the Message File Is No Longer Needed
  485.    %%%%KILLFILE &&MESSAGEPATH&&FORUMNAME.SND
  486.  
  487. [DELETE MESSAGE OUTBOX]
  488. ;
  489. ; Never Save Queued Messages to the &&FORUMNAME Forum OutBox
  490. ;
  491.    %%%ECHO Deleting outgoing Messages: &&MESSAGEPATH&&FORUMNAME.SND
  492. ; At This point the Mail File Is No Longer Needed
  493.    %%%KILLFILE &&MESSAGEPATH&&FORUMNAME.SND
  494.  
  495. [SET HIGH MESSAGE COUNTER]
  496. ;
  497. ; Set The High Message Counter to High Values
  498. ;
  499.     %%SEND HIGH;L^M
  500.     %%WAIT !
  501.  
  502. [OVERWRITE MESSAGES]
  503. ;
  504. ; Create New or Erase Existing &&FORUMNAME.MSG File if found to exist.
  505. ;
  506.     %%KILLFILE &&MESSAGEPATH&&FORUMNAME.MSG
  507.  
  508. [PROMPT CATALOG]
  509. ;
  510. ; Ask what to do if a Library Catalog exists for this Forum on Disk
  511. ;
  512.    %%IF FILEEXISTS &&CONTROLPATH&&FORUMNAME.LBR
  513.    %%%ASK OVERWRITE? &&CONTROLPATH&&FORUMNAME.LBR  Do you want to Overwrite or Append to the &&FORUMNAME Catalog File?^M^J&&CONTROLPATH&&FORUMNAME.LBR
  514.    %%%@SETERRORLEVEL 3 FALSE
  515.    %%@SETERRORLEVEL 3 TRUE
  516.  
  517. [APPEND CATALOG]
  518. ;
  519. ; Append to Existing Library Catalog
  520. ;
  521.    %%SETERRORLEVEL 3 TRUE
  522.  
  523. [OVERWRITE CATALOG]
  524. ;
  525. ; Overwrite the existing Catalog
  526. ;
  527.    %%KILLFILE &&CONTROLPATH&&FORUMNAME.LBR
  528.    %%SETERRORLEVEL 3 TRUE
  529.  
  530. [SHORT CATALOG SCAN]
  531. ;
  532. ; Requesting Download Information on &&SCANDESC
  533. ;
  534.     %%%ECHO Scanning Libraries of &&FORUMNAME, &&FORUMTITLE
  535.     %%%SCAN &&CONTROLPATH&&FORUMNAME.LBR LIST &&SCANFILE &&SCANLIBS &&SCANAGE &&SCANKEYWORDS
  536. ;
  537.  
  538. [FULL CATALOG SCAN]
  539. ;
  540. ; Requesting Download Information on &&SCANDESC
  541. ;
  542.     %%%ECHO Scanning Libraries of &&FORUMNAME, &&FORUMTITLE
  543.     %%%SCAN &&CONTROLPATH&&FORUMNAME.LBR SCAN &&SCANFILE DES &&SCANLIBS &&SCANAGE &&SCANKEYWORDS
  544. ;
  545.  
  546. [RESET SCAN CATALOG]
  547. ;
  548. ;  At this Point Library Scans are Complete so Kill Then Search Pattern Index
  549. ;
  550.     %%%KILLFILE &&CONTROLPATH&&FORUMNAME.LXC
  551.  
  552. [DOWNLOAD FILES]
  553.     %%DOWNLOAD &&DOWNLOADFILE &&DOWNLOADPATH &&DOWNLOADUPLD
  554. ;          Title: &&DOWNLOADTITLE
  555. ;          Library# &&LIBRARY, &&DOWNLOADSIZE Bytes, As of &&DOWNLOADDATE
  556. ;
  557.  
  558. [RESET DOWNLOAD FILES]
  559. ;
  560. ;  At this Point Downloads are Complete so Kill Then Download Tag List
  561. ;
  562.     %%KILLFILE &&CONTROLPATH&&FORUMNAME.LXR
  563.  
  564. [UPLOAD FILES]
  565. ;
  566. ; Sending Files
  567. ;                           <To be defined>
  568.